package com.ky.tms.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;
import lombok.Getter;

/**
 * 角色枚举
 */

@Getter
public enum RoleEnum implements IEnum<String> {
    ADMIN("ADMIN", "系统管理员"),
    SERVICE("SERVICE", "客服"),
    SERVICE_MANAGER("SERVICE_MANAGER", "客服主管"),
    DISPATCH("DISPATCH", "调度"),
    DISPATCH_MANAGER("DISPATCH_MANAGER", "调度主管"),
    OPERATOR("OPERATOR", "运营"),
    OPERATOR_MANAGER("OPERATOR_MANAGER", "运营主管"),
    TEAM_LEADER("TEAM_LEADER", "总助"),
    HR("HR", "人事"),
    CFO("CFO", "财务");
    private final String value;
    private final String desc;
    RoleEnum(final String value, final String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public String getValue() {
        return value;
    }

}
